<script>
	if(window.parent){
		window.opener.location.reload(true);
		window.close();
	} else {
		window.assign('/accounts/login');
	}
</script>